<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "gky_we_article_praise".
 *
 * @property string $id
 * @property string $articel_id
 * @property integer $count
 * @property integer $read_count
 */
class GkyWeArticlePraise extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'gky_we_article_praise';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['articel_id'], 'required'],
            [['articel_id', 'count', 'read_count'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'articel_id' => 'Articel ID',
            'count' => 'Count',
            'read_count' => 'Read Count',
        ];
    }
}
